<!DOCTYPE html>
<html lang="zh-CN">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>{$title}</title>
    <style>
        .zt{
            font-size:16px;
            font-family:微软雅黑;
        }
        .pd{
            padding:0;
        }
        .mt{
            margin-top:50px;
        }
        .mt1{
            margin-top:10px;
        }
    </style>

    <!-- Bootstrap -->
    <link href="__PUBLIC__/admin/bootstrap/css/bootstrap.min.css" rel="stylesheet">
    <!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
    <script src="__PUBLIC__/js/jquery-2.1.4.min.js"></script>
    <!-- Include all compiled plugins (below), or include individual files as needed -->
    <script src="__PUBLIC__/admin/bootstrap/js/bootstrap.min.js"></script>
</head>

<body>
    <div class="container">
        <div class="row">
            <div class="col-md-12">
                <block name="main">
                    <div class="panel panel-primary">
                        <div class="panel-heading zt" style="text-align:center;">{$title}</div>
                            <div class="panel-body">
                                <table class="table table-hover zt">
                                    <tr>
                                      <th>ID</th>
                                      <th>积分</th>
                                      <th>等级</th>
                                      <th>图片</th>
                                      <th>操作</th>
                                    </tr>
                                    <volist name="list" id="v">
                                    <tr>
                                      <td>{$v.id}</td>
                                      <td>{$v.soc}</td>
                                      <td>{$v.level}</td>
                                      <td><img src="__PUBLIC__/uploads/{$v.img}" width="25px" height="25px"></td>
                                      <td>
                                          <a href="{:U('edit',array('id'=>$v['id']))}"><button><span class="glyphicon glyphicon-pencil"></span></button></a>
                                          <a href="{:U('del',array('id'=>$v['id']))}"><button><span class="glyphicon glyphicon-trash"></button></span></a>
                                      </td>
                                    </tr>
                                    </volist>
                                </table>
                            </div>
                        </div>
                    </div>
                </block>
            </div>
        </div>
    </div>
  </body>
</html>
